package net.suncapper.wcss.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 批次设定
 * </p>
 *
 * @author ztr
 * @since 2025-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wcss_batch_setting")
@ApiModel(value="BatchSetting对象", description="批次设定")
public class BatchSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

        @ApiModelProperty(value = "批次名称")
    @TableField("NAME")
    private String name;

        @ApiModelProperty(value = "申请开始时间")
    @TableField("application_start_date")
    private LocalDate applicationStartDate;

        @ApiModelProperty(value = "申请结束时间")
    @TableField("application_end_date")
    private LocalDate applicationEndDate;

        @ApiModelProperty(value = "登记开始时间")
    @TableField("register_start_date")
    private LocalDate registerStartDate;

        @ApiModelProperty(value = "登记结束时间")
    @TableField("register_end_date")
    private LocalDate registerEndDate;

        @ApiModelProperty(value = "困难等级级别")
    @TableField("difficulty_level")
    private String difficultyLevel;

        @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
        @TableLogic
    private Boolean deleted;

        @ApiModelProperty(value = "当前批次")
    @TableField("active")
    private Boolean active;

        @ApiModelProperty(value = "创建时间")
    @TableField("gmt_created")
    private LocalDateTime gmtCreated;

        @ApiModelProperty(value = "更新时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;


}
